<script setup lang="ts"></script>

<template>
  <nav class="mt-3">
    <ul class="flex justify-start items-center gap-x-2">
      <li>
        <RouterLink to="/">首页</RouterLink>
      </li>
      <li>
        <RouterLink to="/add">添加</RouterLink>
      </li>
    </ul>
  </nav>
  <main class="my-6 bg-white p-6">
    <RouterView />
  </main>
</template>
